using TMPro;
using UnityEngine;

public class UISkillTooltip : MonoBehaviour
{
    [SerializeField] private TextMeshProUGUI skillText;
    [SerializeField] protected TextMeshProUGUI skillName;

    public void ShowToolTip(string _skillDescription, string _skillName)
    {
        skillText.text = _skillDescription;
        skillName.text = _skillName;
        gameObject.SetActive(true);
    }

    public void HideToolTip() => gameObject.SetActive(false);
}
